package com.shanyin.framework.member.entity;

import java.util.Date;

import com.shanyin.framework.common.base.BaseModel;

import lombok.Getter;
import lombok.Setter;

/**
 * @author qing.yunhui 
 * @Since 2011-2018
 * @create 2018-05-23 14:35:32
 * @history
 */
@Getter
@Setter
public class SysUserInfo extends BaseModel<Long>{
	
	//alias
	public static final String TABLE_ALIAS = "SysUserInfo";
	
	public SysUserInfo() {
		super();
	}
	
	public SysUserInfo(Long userId) {
		this.userId=userId;
	}
	
	//columns START
	/**
	 * @Fields id:主键id
	 */
	private Long id;
	
	/**
	 * @Fields userId:用户id(外键)
	 */
	private Long userId;
	
	/**
	 * @Fields realName:用户真实姓名
	 */
	private String realName;
	
	/**
	 * @Fields age:年龄
	 */
	private Integer age;
	
	/**
	 * @Fields sex:性别
	 */
	private String sex;
	
	/**
	 * @Fields national:民族
	 */
	private String national;
	
	/**
	 * @Fields idNo:身份证号(唯一键)
	 */
	private String idNo;
	
	/**
	 * @Fields idAddr:身份证居住地址
	 */
	private String idAddr;
	
	/**
	 * @Fields currentAddr:现居住地址
	 */
	private String currentAddr;
	
	/**
	 * @Fields gmtCreate:创建时间(注册时间)
	 */
	private Date gmtCreate;
	
	/**
	 * @Fields mgtModify:修改时间
	 */
	private Date mgtModify;
	
	/**
	 * @Fields deleted:删除标识(0.无效、1.有效)- 一般用于逻辑删除
	 */
	private Integer deleted;
	
	/**
	 * @Fields remark:备注
	 */
	private String remark;

	//columns END
}